package com.qs.education.bean.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.qs.education.bean.entity.EducationQuestion;

/**
 * @class IEducationQuestionDao
 * @author Jason
 * @description
 * @date Nov 22, 2018 10:52:44 AM
 */
@Repository
public interface IEducationQuestionDao extends IBaseDao<EducationQuestion>{

	/**
	 * @Description 查询符合条件的数量
	 * @author Jason
	 * @date Nov 22, 2018
	 * @param educationQuestion
	 * @return
	 */
	int getQuestionCount(EducationQuestion educationQuestion);

	/**
	 * @Description 查询符合条件的题目的信息
	 * @author Jason
	 * @date Nov 22, 2018
	 * @param educationQuestion
	 * @param currentPage
	 * @param pageSize
	 * @return
	 */
	List<EducationQuestion> getQuestionList(EducationQuestion educationQuestion, Integer currentPage, Integer pageSize);

}
